package com.jswlw.service.biz.log.impl;

import com.jswlw.dao.biz.log.LogSyncWaterMapper;
import com.jswlw.entity.biz.log.LogSyncWater;
import com.jswlw.service.biz.log.LogSyncWaterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 吴维斌 E-mail:wuweibin0817@163.com
 * @version 创建时间：${date} ${time}
 */
@Service
public class LogSyncWaterServiceImpl implements LogSyncWaterService {

    @Autowired
    LogSyncWaterMapper mapper;

    @Override
    public void add(LogSyncWater logSyncWater) {
        mapper.insertSelective(logSyncWater);
    }

    @Override
    public LogSyncWater findLastUsed4Imei(String imei) {
        return mapper.findLastUsed4Imei(imei);
    }
}
